package com.google.code.greenplate;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

public class BuildCommunity extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.buildcommunity);
        
        Button GetIn = (Button)findViewById (R.id.import_button);
        GetIn.setOnClickListener(new OnClickListener() {
            public void onClick(View v) {
                // launch the second activity from button  click.
                Intent intent = new Intent();
                intent.setClass(BuildCommunity.this, ContactList.class);
                startActivity(intent);
            }
        });   
    }
}